// 创造store对象
import { applyMiddleware, createStore } from "redux";
import thunk from 'redux-thunk'
// 引入count组件的reducer
import countReducer from './count_reducer'
const store=createStore(countReducer,applyMiddleware(thunk))
export default store;